package com.csu.bailan.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Map;

@TableName("stock")
@Data
public class SKU {
    @TableId(value = "sku_id")
    private String skuId;
    @TableField("spu_id")
    private String spuId;
    @TableField("attr_id")
    private String attrId;
    private Double price;
    private Integer stock;
    @TableField("sku_sales")
    private Integer skuSales;
    @TableField("sku_status")
    private Integer skuStatus;
    @Version
    @TableField(fill = FieldFill.INSERT)
    private Integer version;
}
